// 基于template/src/views/{{appModules}}/{{pages@DEEDITVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IEditViewModel } from '@/core/interface/view/model';
function getModel(): IEditViewModel {
	return {
		caption: '系统',
		title: '系统详情查看',
		capPSLanguageRes: 'DE.LNAME.SYS_DEPLOY_SYSTEM',
		titlePSLanguageRes: '',
		showDataInfoBar: true,
		codeName: 'sys_deploy_systemUsr02EditView',
		uiEngineModel: [
			{
				name: 'toolbar_deuiaction1_click',
				triggerType: 'CTRLEVENT',
				logicType: 'APPVIEWUIACTION',
				eventNames: 'CLICK',
				scriptCode: ``,
				logicName: ``,
				logicTag: '',
				eventArg: 'deuiaction1',
				eventArg2: '',
				timer: 0,
				psViewCtrlName: 'toolbar',
				uIActionTag: 'AddRole',
				entityCodeName: 'Sys_deploy_system',
			},
		],
		ctrls: [
			{
				name: 'toolbar',
				codeName: 'Usr02EditViewtoolbar',
				controlType: 'TOOLBAR',
			},
			{
				name: 'form',
				codeName: 'Usr0309966958',
				controlType: 'FORM',
			},
		],
		ctrlParams: {
			Sys_deploy_systemtoolbar: {},
			Sys_deploy_systemform: {},
		},
		cssName: '',
		name: 'sys_deploy_systemUsr02EditView',
		viewType: 'DEEDITVIEW',
		viewStyle: 'DEFAULT',
		showCaption: true,
		isLoadDefault: true,
		entityCodeName: 'Sys_deploy_system',
		keyPSAppDEField: 'Id',
		majorPSAppDEField: 'Display_name',
		expandSearchForm: false,
		toolbarItems: [
			{
				actionLevel: '100',
				caption: '添加角色',
				captionLanResTag: '',
				name: 'deuiaction1',
				showCaption: true,
				tooltip: '添加角色',
				tooltipLanResTag: '',
				itemType: 'DEUIACTION',
				showIcon: true,
				disabled: false,
				cssName: '',
				dataAccessAction: '',
				noPrivDisplayMode: 2,
				uiAction: {
					codeName: 'AddRole',
					uIActionMode: 'FRONT',
					actionTarget: 'NONE',
					uIActionTag: 'AddRole',
					uIActionType: 'DEUIACTION',
				},
				logic: {
					name: 'toolbar_deuiaction1_click',
					actionTag: 'AddRole',
					xDataCtrlName: 'form',
					actionDECodeName: 'Sys_deploy_system',
					predefinedType: '',
				},
			},
		],
		xDataCtrlName: 'form',
		quickSearchPlaceholder: ['系统标识', '系统名', '系统显示名称'].join(','),
		useDefaultLayout: true,
	};
}
export const model = getModel();
